//
//  ViewController.swift
//  PictureBrowser
//
//  Created by zhengju on 2017/7/27.
//  Copyright © 2017年 zhengju. All rights reserved.
//

import UIKit

class ViewController: UIViewController {

    
    let  pictureNames = ["图1","图2","图1"]
    
    let pictureUrls = ["http://gaopin-preview.bj.bcebos.com/134203403785.jpg@!420","http://gaopin-preview.bj.bcebos.com/134203403826.jpg@!420","http://gaopin-preview.bj.bcebos.com/133107356083.jpg@!420"]
    
    
    
    override func viewDidLoad() {
        super.viewDidLoad()
       

    }

    //MARK:浏览大图
    @IBAction func browserClick(_ sender: UIButton) {
        
        let browser = ZJPictureBrowser()
        
        browser.presentingVC = self

        browser.pictureUrls = pictureUrls
        browser.show()
        
        
    }
    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }


}

